package com.example.zk.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by it001 on 2018-12-19.
 */
@Data
public class BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public static final String DEL_FALSE = "0";

    public static final String DEL_TRUE = "1";

    protected Long id;// 主键

    protected Long companyId;// 公司ID

    protected String delFlag;// 0正常,1删除

    protected String createBy;// 创建者

    protected Date createDate;// 创建日期

    protected String updateBy;// 修改者

    protected Date updateDate;// 修改日期

    protected boolean isNewRecord = false;// 是否是新记录

    protected String orderBy;// 排序对象

    protected String actionType;// 动作类型


}
